/*Task error codes*/

#ifndef ERRCODE_H
#define ERRCODE_H

/*Return Values*/
#define SUCCESS             0 /*Task completed successfully and in time*/
#define ERR_SEM_NOT_CREATED 1 /*Could not allocate memory for creating semaphore*/
#define ERR_TASK_TIMEOUT    2 /*Task not completed in Time, Timeout occurred*/
#define ERR_OUT_OF_BOUNDS   3 /*The task was denied due to out of bound parameters*/
#define ERR_SEM_TIMEOUT     4 /*A required Semaphore is still locked*/
#define ERR_DEV_UNINIT      5 /*The device is not correctly initializated*/

#endif /*ERRCODE_H*/
